﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Plugin.TradeSharp
{
    public partial class UCLStrategySetting : UserControl
    {
        public UCLStrategySetting()
        {
            InitializeComponent();
            this.dateTimePickerStart.Format = DateTimePickerFormat.Time;
            this.dateTimePickerStart.ShowUpDown = true;

            this.dateTimePickerEnd.Format = DateTimePickerFormat.Time;
            this.dateTimePickerEnd.ShowUpDown = true;

            var cur = DateTime.Now;
            DateTime start = new DateTime (cur.Year,cur.Month,cur.Day,9,30,0);
            DateTime end = new DateTime (cur.Year,cur.Month,cur.Day,15,0,0);


            this.dateTimePickerStart.Value = start;
            this.dateTimePickerEnd.Value = end;


        }
    }
}

